package mvc.selix;

import org.geom.curve.ICurve;

public class SelixSetter {

	protected SelixModel model;
	
	public SelixSetter(SelixModel model) {
		this.model = model;
	}
	

	public void setK(float t, boolean increment) {
		model.setK(t, increment);
		model.notifyAllViews();
	}

	public void setR(float t, boolean increment) {
		model.setR(t, increment);
		model.notifyAllViews();
	}

	public void setTrunk(ICurve trunk) {
		model.setTrunk(trunk);
		model.notifyAllViews();
	}

	public void setU(float t, boolean increment) {
		model.setU(t, increment);
		model.notifyAllViews();
	}

}
